package com.morizhang.merchanmanager.api.model;

import lombok.Data;

@Data
public class CommodityWareModel {
    private String barCode;
    private String batchNo;
    private int amount;
    private String productTime;
    private String expire;
    private String productName;
    private String shelfNo;

    public CommodityWareModel() {super();}

    public CommodityWareModel(CommodityLocationModel commodityLocationModel) {
        this.barCode = commodityLocationModel.getBarCode();
        this.batchNo = commodityLocationModel.getBatchNo();
        this.amount = commodityLocationModel.getAmountNow();
    }
}
